package org.sunrise.game.common.network.start;

import org.sunrise.game.common.network.server.BaseServerManager;
import org.sunrise.game.common.utils.Utils;

public class TestServerStartUp {
    public static void main(String[] args) {
        var server1 = BaseServerManager.createBaseServer("node1");
        server1.startListen(Utils.getLocalIpAddress(), 1000);

        var server2 = BaseServerManager.createBaseServer("node1");
        server2.startListen(Utils.getLocalIpAddress(), 1001);

        var server3 = BaseServerManager.createBaseServer();
        server3.startListen(Utils.getLocalIpAddress(), 1002);

    }
}
